package com.gbx.ximalayating.callback;

import com.gbx.ximalayating.entity.AdsJsonEntity;
import com.gbx.ximalayating.entity.AnchorJsonEntity;
import com.gbx.ximalayating.entity.MFTotalBean;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * "http://adse.ximalaya.com/ting/loading?appid=0&device=android&name=loading&network=wifi&operator=0&version=4.3.98";
 *
 */
public interface HttpService {
    @GET("ting/loading")
    Call<AdsJsonEntity> getAdsJsonEntityCall(@Query("appid")String appid,
                                             @Query("device")String device,
                                             @Query("name")String name,
                                             @Query("neywork")String network,
                                             @Query("operator")String operator,
                                             @Query("version")String version);

    @GET("m/explore_user_index")
    Call<AnchorJsonEntity>getAnchorJsonEntityCall(@Query("device")String device,
                                                  @Query("page")int page);
    @GET("mobile/discovery/v2/rankingList/group")
    Call<MFTotalBean>getContent(@Query("channel")String channel,
                                @Query("device")String device,
                                @Query("includeActivity")boolean includeActivity,
                                @Query("includeSpecial")boolean includeSpecial,
                                @Query("scale")int scale,
                                @Query("version")String version);
}
